package pacman;

import static org.junit.Assert.assertTrue;
import maze.Direction;
import maze.Location;

import org.junit.Test;

public class GhostTest {
	
	@Test
	public void test() {
		Ghost ghost= new Ghost(new Location(0,0), 0, null, null, null, null, null);
		Direction[] directions= new Direction[4];
		directions[0]=Direction.NORTH;
		directions[1]=Direction.EAST;
		directions[2]=Direction.SOUTH;
		directions[3]=Direction.WEST;
		ghost.shiftArray(directions, 3);
		System.out.println(directions[0]);
		assertEquals(directions[0]==Direction.EAST);
	}

}
